<?php
class GrouppurchaseAction extends Action{
	public function index(){
		$id = M('Grouppurchase') -> where(array('id' => $this->_get('id'))) -> getField('product_id');
		redirect(getArtLink($id, 1));
	}
}
